﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/MasterPage_Base.master"
    AutoEventWireup="true" CodeFile="ProductModify.aspx.cs" Inherits="System_Product_ProductModify" ValidateRequest="false" %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
    <script src="../Resources/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../Resources/Kindeditor/kindeditor.js" type="text/javascript"></script>
    <script src="../Resources/Kindeditor/lang/zh_CN.js" type="text/javascript"></script>
    <script>
        KindEditor.ready(function(K) {
            K.create('#<%=Editor.ClientID%>', {
                uploadJson: '../Resources/Kindeditor/App/upload_json.ashx',
                fileManagerJson: '../Resources/Kindeditor/App/file_manager_json.ashx',
                allowFileManager: true
            });
        });
    </script>

    <style type="text/css">
        .td1
        {
            height: 30px;
            border: solid 1px #333333;
            background-color: #CCCCCC;
            vertical-align: top;
        }
        .td2
        {
            height: 30px;
            border: solid 1px #333333;
        }
        
        .textarea
        {
        	width:400px;
        	height:80px;
        	max-width:400px;
        	max-height:80px;
        	border:solid 1px #99BBE8;
        	padding-left:5px;
	        padding-right:5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    业务范围
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table border="0" style="border-collapse: collapse;">
        <col style="width: 100px;" />
        <col style="width: 700px;" />
        <tr>
            <td class="td1">
                业务范围名称
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_Title" runat="server" Text="" Width="400" CssClass="TextBox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_Title"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <%--<tr>
            <td class="td1">
                产品型号
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_ProductType" runat="server" Text="" Width="400" CssClass="TextBox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_ProductType"></asp:RequiredFieldValidator>
            </td>
        </tr>--%>
        <%--<tr>
            <td class="td1">
                产品图片
            </td>
            <td class="td2" style="padding:5px;">
                <asp:Image ID="img_Product" runat="server" width="100" Height="80"/>
                <input id="btn_Image" type="button" class="Button" value="请选择图片"/>
                <asp:HiddenField ID="hf_LogoImg" runat="server" />
            </td>
        </tr>--%>
        <tr>
            <td class="td1">
                摘要
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_Abstract" runat="server" Text="" CssClass="textarea"
                    TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td1">
                关键字
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_Keywords" runat="server" Text="" Width="400" CssClass="TextBox"></asp:TextBox>
                <br /><span style=" color:Gray;">搜索引擎优化关键字，可以输入多个关键字，并用","(英文)隔开</span>
            </td>
        </tr>
        <tr>
            <td class="td1">
                描述
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_Description" runat="server"
                    CssClass="textarea" TextMode="MultiLine"></asp:TextBox>
                <br /><span style=" color:Gray;">搜索引擎优化描述，有利于搜索引擎搜索</span>
            </td>
        </tr>
        <tr>
            <td class="td1">
                发布时间
            </td>
            <td class="td2">
                <asp:TextBox ID="txt_ReleaseDate" runat="server" Text="" Width="120" CssClass="Wdate TextBox" onclick="WdatePicker()"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_ReleaseDate"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">
                状态
            </td>
            <td class="td2">
                <asp:RadioButtonList ID="radio_Valid" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Text="启用" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="禁用" Value="0"></asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="td1">
                内容
            </td>
            <td class="td2">
                <asp:TextBox ID="Editor" runat="server" TextMode="MultiLine" Width="700" Height="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: right; padding-right: 10px; padding-top: 20px;">
                <asp:Button ID="btn_Submit" runat="server" Text="提交" CssClass="Button" ValidationGroup="Check"
                    OnClick="btn_Submit_Click" />
                <input type="button" value="返回" class="Button" onclick="window.location.href='ProductList.aspx'" />
            </td>
        </tr>
    </table>
</asp:Content>
